<div style="width: 368px">
  <lv-upload
    (lvChange)="change($event)"
    lvUrl="/sails/api/v1/upload"
    lvAutoUpload
    lvAccept="image/jpeg,image/png"
    [lvBeforeUpload]="beforeUpload"
  ></lv-upload>
</div>

